colorswatch: Fix the overlay
authorMatthias Clasen <mclasen@redhat.com>
Fri, 8 Jan 2016 00:20:55 +0000 (19:20 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 8 Jan 2016 00:20:55 +0000 (19:20 -0500)
commit5b3001b6d53b137d32dd7b9ab8996be224859d6d
treea6ce9a4980d3a8392ee96a7e5fbc63b65e5d6acf
parent1b3bb244b6b584fbee69e120fe3cbcdb19069ce0
colorswatch: Fix the overlay

I misunderstood what the overlay is good for: We need to allocate
it the full size of the widget. since we are using it to render
a background gradient *over* the application-rendered color.

At the same time, save some 100 lines of code by using an icon
helper as gadget, instead of handling the icon manually.
gtk/gtkcolorswatch.c